package com.dkm.biz.ou.persistence.entity;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:user_account Tbl对象
 * 开发公司:dkm.com
 * 开发人员:ZHH
 * 创建时间:2017-07-31 20:14:54
 */
 @ITable(name="userAccount",code="user_account")
public class UserAccountTbl extends AbstractPo<String>{
	 protected String id;
	@IField(name="zmzId",column="id")
	protected Long  zmzId; 		/*id*/
	@IField(name="userId",column="user_id")
	protected Long  userId; 		/*用户id*/
	@IField(name="balance",column="balance")
	protected java.math.BigDecimal  balance; 		/*余额*/
	@IField(name="score",column="score")
	protected java.math.BigDecimal  score; 		/*积分*/
	@IField(name="freezeAmount",column="freeze_amount")
	protected java.math.BigDecimal  freezeAmount; 		/*冻结资金*/
	@IField(name="totalCost",column="total_cost")
	protected java.math.BigDecimal  totalCost; 		/*总消费*/
	@IField(name="totalIncome",column="total_income")
	protected java.math.BigDecimal  totalIncome; 		/*历史收益*/
	@IField(name="status",column="status")
	protected Short  status; 		/*状态，1：正常，0：冻结*/
	@IField(name="payPassword",column="pay_password")
	protected String  payPassword; 		/*支付密码*/
	@IField(name="updateTime",column="update_time")
	protected java.util.Date  updateTime; 		/*更新时间*/
	@IField(name="createTime",column="create_time")
	protected java.util.Date  createTime; 		/*创建时间*/
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Long getZmzId() {
		return zmzId;
	}
	public void setZmzId(Long zmzId) {
		this.zmzId = zmzId;
	}
	public void setUserId(Long userId) 
	{
		this.userId = userId;
	}
	/**
	 * 返回 用户id
	 * @return
	 */
	public Long getUserId() 
	{
		return this.userId;
	}
	public void setBalance(java.math.BigDecimal balance) 
	{
		this.balance = balance;
	}
	/**
	 * 返回 余额
	 * @return
	 */
	public java.math.BigDecimal getBalance() 
	{
		return this.balance;
	}
	public void setScore(java.math.BigDecimal score) 
	{
		this.score = score;
	}
	/**
	 * 返回 积分
	 * @return
	 */
	public java.math.BigDecimal getScore() 
	{
		return this.score;
	}
	public void setFreezeAmount(java.math.BigDecimal freezeAmount) 
	{
		this.freezeAmount = freezeAmount;
	}
	/**
	 * 返回 冻结资金
	 * @return
	 */
	public java.math.BigDecimal getFreezeAmount() 
	{
		return this.freezeAmount;
	}
	public void setTotalCost(java.math.BigDecimal totalCost) 
	{
		this.totalCost = totalCost;
	}
	/**
	 * 返回 总消费
	 * @return
	 */
	public java.math.BigDecimal getTotalCost() 
	{
		return this.totalCost;
	}
	public void setTotalIncome(java.math.BigDecimal totalIncome) 
	{
		this.totalIncome = totalIncome;
	}
	/**
	 * 返回 历史收益
	 * @return
	 */
	public java.math.BigDecimal getTotalIncome() 
	{
		return this.totalIncome;
	}
	public void setStatus(Short status) 
	{
		this.status = status;
	}
	/**
	 * 返回 状态，1：正常，0：冻结
	 * @return
	 */
	public Short getStatus() 
	{
		return this.status;
	}
	public void setPayPassword(String payPassword) 
	{
		this.payPassword = payPassword;
	}
	/**
	 * 返回 支付密码
	 * @return
	 */
	public String getPayPassword() 
	{
		return this.payPassword;
	}
	public void setUpdateTime(java.util.Date updateTime) 
	{
		this.updateTime = updateTime;
	}
	/**
	 * 返回 更新时间
	 * @return
	 */
	public java.util.Date getUpdateTime() 
	{
		return this.updateTime;
	}
	public void setCreateTime(java.util.Date createTime) 
	{
		this.createTime = createTime;
	}
	/**
	 * 返回 创建时间
	 * @return
	 */
	public java.util.Date getCreateTime() 
	{
		return this.createTime;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("userId", this.userId) 
		.append("balance", this.balance) 
		.append("score", this.score) 
		.append("freezeAmount", this.freezeAmount) 
		.append("totalCost", this.totalCost) 
		.append("totalIncome", this.totalIncome) 
		.append("status", this.status) 
		.append("payPassword", this.payPassword) 
		.append("updateTime", this.updateTime) 
		.append("createTime", this.createTime) 
		.toString();
	}
}